package controllers

import "github.com/astaxie/beego"

type IndexController struct {
	BaseController
}


func init()  {
	beego.BConfig.WebConfig.AutoRender=true
}

func (c *IndexController) Get() {
	c.Data["oauth2Url"] = "http://localhost:8080/web/login?client_id=test_client_1&login_redirect_uri=%2Fweb%2Fauthorize&redirect_uri=http%3A%2F%2Fwww.localhost:9090/html/home.html&response_type=code&scope=read_write&state=xyz"
	c.TplName="index.html";
}
